<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script type="text/javascript" src="../js/vue.js"></script>
</head>

<body>

    <div id="root">
        单向数据绑定：<input type="text" v-bind:value="name"></input><br>
        双向数据绑定：<input type="text" v-model:value="name"></input>
        双向数据绑定简写：<input type="text" v-model="name"></input>
    </div>

    <script type="text/javascript">
        new Vue({
            el: '#root',
            data: {
                name: "佛佛哦"
            }

        })
    </script>
</body>

</html>